package cn.tedu.pojo;

/**
 * @author SWJ
 * @create 2021-07-14 19:33
 * 第二步设置内容文件进行参数注入
 * 创建私有属性必须要用 引用类型
 * 防止异常抛出
 */
public class carhomework {
    private Integer id;
    private String name;
    private String color;
    private Double price;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}



